<%@page import="java.sql.*" %>
<%@ page import="com.hline.kbcss.MyDriver"%>
<%
 
try
 {
  String usertype=request.getParameter("usertype").toString();
  String uname=request.getParameter("users").toString();

  Statement stmt = MyDriver.getConnection("READ");
  ResultSet rs=stmt.executeQuery("select * from "+usertype+" where uname='"+uname+"'");
  
  ResultSetMetaData metadata = rs.getMetaData();
  int columnCount = metadata.getColumnCount();


  rs.next();
  for(int i=1;i<=columnCount;i++)
  
  out.println(metadata.getColumnName(i)+"="+rs.getString(metadata.getColumnName(i))+"<br>");
 
}
catch(Exception e){}%>   
   
